package com.example.secutity.springmvc.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @author yingyuwei
 * @version 1.0.0
 * @description TODO
 * @createTime 2021年02月27日 16:07:00
 */
@RestController
public class LoginController {


    @RequestMapping(value = "login‐success", produces="text/html;charset=UTF-8")
    public String loginSuccess() {
        return "登录成功";
    }
    @RequestMapping(value = "/api/user/info", produces="text/html;charset=UTF-8")
    public String userInfo() {
        return "用户信息";
    }
}
